<?php

class Mroles extends CI_Model {
    public function getpriv($role_id) {
        //$this->db->where('role_id',$role_id);
        $query = $this->db->get('tbl_privileges');
    }
    
    public function getRoles() {
        $query = $this->db->get('tbl_roles');
        return $query->result();
    }
}